package io.renren.modules.shop.service;

import java.util.List;

import io.renren.modules.shop.entity.Car;
import io.renren.modules.shop.entity.GoodsMsg;
import io.renren.modules.shop.entity.GoodsOrder;
import com.baomidou.mybatisplus.extension.service.IService;

public interface GoodsOrderService extends IService<GoodsOrder> {


    int updateBatch(List<GoodsOrder> list);

    int batchInsert(List<GoodsOrder> list);

    int updateBatchSelective(List<GoodsOrder> list);

    boolean buyCar(List<GoodsMsg> goodsMsgs, Integer coupon, String openId);

    List<GoodsOrder> getList(String openId);
}



